package com.zzyl.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 项目计划数据传输对象
 */
@Data
@ApiModel(value = "ProjectPlansDTO", description = "用于API请求响应的数据传输对象")
public class ProjectPlansDto {

    @ApiModelProperty(value = "项目计划id", required = true, example = "1")
    private Long id;

    @ApiModelProperty(value = "计划id", example = "001")
    private Long planId;

    @ApiModelProperty(value = "项目id", example = "001")
    private Long projectId;

    @ApiModelProperty(value = "计划执行时间", example = "08:00")
    private String executeTime;

    @ApiModelProperty(value = "计划执行周期", example = "每周")
    private int executeCycle;

    @ApiModelProperty(value = "计划执行频次", example = "默认一次")
    private int executeFrequency;

    @ApiModelProperty(value = "项目名称", required = true, example = "新功能开发")
    private String projectName;
}
